package ModelLayer;


/**
 * Write a description of class Sample here.
 * 
 * @author (DM80 Group 5, Anders, Michael, Jesper, Lars og Kenni) 
 * @version (16/11-2012)
 */
public class Sample
{
    //Instance variables of the class.
    private int serialNr;
    private String acquireDate;
    private double acquirePrice;
    
    //Class constructor.
    public Sample(int _serialNr, String _acquireDate, double _acquirePrice)
    {
        serialNr = _serialNr;
        acquireDate = _acquireDate;
        acquirePrice = _acquirePrice;
    }
    
    //Get methods of the class.
    public int getSerialNr()
    {
        return serialNr;
    }
    
    public String getAcquireDate()
    {
        return acquireDate;
    }
    
    public double getAcquirePrice()
    {
        return acquirePrice;
    }
    
    //Set methods of the class.
    public void setSerialNr(int _serialNr)
    {
        serialNr = _serialNr;
    }
    
    public void setAcquireDate(String _acquireDate)
    {
        acquireDate = _acquireDate;
    }
    
    public void setAcquirePrice(double _acquirePrice)
    {
        acquirePrice = _acquirePrice;
    }
}
